package com.service.information.imp;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mapper.information.CommentSpecialistMapper;
import com.po.CommentSpecialistInfo;
import com.service.information.CommentSpecialistService;
@Service
public class CommentSpecialistServiceImp implements CommentSpecialistService{
    @Resource(name="commentSpecialistMapper")
    private CommentSpecialistMapper commentSpecialistMapper;

	@Override
	public List<CommentSpecialistInfo> getCommentSpecialistList(CommentSpecialistInfo commentSpecialistInfo) {
		List<CommentSpecialistInfo> list=commentSpecialistMapper.getCommentSpecialistList(commentSpecialistInfo);
		return list;
	}

	@Override
	public int getCommentSpecialistCount(CommentSpecialistInfo commentSpecialistInfo) {
		int i=commentSpecialistMapper.getCommentSpecialistCount(commentSpecialistInfo);
		return i;
	}

	@Override
	public int addCommentSpecialist(CommentSpecialistInfo commentSpecialistInfo) {
		int i=commentSpecialistMapper.addCommentSpecialist(commentSpecialistInfo);
		return i;
	}

	@Override
	public int deleteCommentSpecialist(String id) {
		int i=commentSpecialistMapper.deleteCommentSpecialist(id);
		return i;
	}
}
